#pragma once
#include "const.h"
#include "HttpConnection.h"

class Server : public std::enable_shared_from_this<Server> {
public:
    Server(boost::asio::io_context& io_context, unsigned short port);

    void StartAccept();

private:
    tcp::acceptor _acceptor;
};
